// A promotion surprise
class PromDemo { 
    public static void main(String args[]) {
        byte b;
        int i;

        b = 10;
        i = b * b; // No need for cast because result is integer.

        b = 10;
        b = (byte) (b / b); //Because result is integer, cast is needed for byte

        System.out.println("i and b: " + i + " " + b);
    }
}


